package com.etime.shuhuiyuan.services.courseadmin.interfaces;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.shuhuiyuan.dto.CourseAdminDto;
import com.etime.shuhuiyuan.pojo.Course;

import java.util.List;

public interface CourseAdminService {

    List<Course> selectCourseList(Course course);

    Page<Course> selectCourseListByPage(Course course,long pageNum,long pageSize);

    Page<CourseAdminDto> selectCourseAdminDtoByPage(CourseAdminDto courseAdminDto,long pageNum,long pageSize);

    Course selectCourseById(int courseId);

    CourseAdminDto selectCourseAdminDtoById(int courseId);

    int updateCourseAdmin(Course course);
}
